package com.dushan.boot.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dushan.boot.domain.base.BaseDO;
import lombok.*;

/**
 * @Author：朗朗乾坤
 * @Package：com.dushan.boot.DO
 * @Project：DuShanHui
 * @name：MemberExperienceRecordDO
 * @Date：2024/1/24 17:08
 * @Filename：MemberExperienceRecordDO
 */
@TableName("member_experience_record")
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
public class MemberExperienceRecordDO extends BaseDO {

    /**
     * 编号
     */
    @TableId
    private Long id;
    /**
     * 用户编号
     *
     * 关联 {@link MemberUserDO#getId()} 字段
     */
    private Long userId;
    /**
     * 业务类型
     * <p>
     * 枚举 {@link MemberExperienceBizTypeEnum}
     */
    private Integer bizType;
    /**
     * 业务编号
     */
    private String bizId;
    /**
     * 标题
     */
    private String title;
    /**
     * 描述
     */
    private String description;
    /**
     * 经验
     */
    private Integer experience;
    /**
     * 变更后的经验
     */
    private Integer totalExperience;
}
